package cn.sdormitory.canteen.dao;

import cn.sdormitory.canteen.vo.CanteenStockDetailVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CanteenStockDetailDao extends BaseMapper<CanteenStockDetailVO> {
    List<CanteenStockDetailVO> getCanteenStockList(@Param("map")Map<String,Object> map,
                                              @Param("currPage") Integer currPage,@Param("pageSize") Integer pageSize);

    int getCanteenStockListCount(@Param("map")Map<String,Object> map);
}
